ProxyPass - mod_proxy

ProxyPass - mod_proxy

am 25.11.2009 01:30:36 von Aruna Gummalla

--0-992582436-1259109036=:91429
Content-Type: text/plain; charset=us-ascii

Hi,

I am trying to configure mod_proxy. I want Apache to be the proxy server.
There is a client x which talks to Apache and Apache in turn passes on this request to other client y. The client y responds to Apache and in turn should send the response to client x.
Suppose, client y runs on port 9999

I configured the httpd.conf like this:


ProxyRequests Off


ProxyPass / http://localhost:9999/
ProxyPassReverse / http://localhost:9999/

But when the client x tries to connect client y thru Apache it doesnt not get a response. client x says No response from the server.

Can somebody please help me configure the httpd.

Thanks in advance.

Thanks & Regards,
Aruna.




--0-992582436-1259109036=:91429
Content-Type: text/html; charset=us-ascii

Hi,

I am trying to configure mod_proxy. I want Apache to be the proxy server.
There is a client x which talks to Apache and Apache in turn passes on this request to other client y. The client y responds to Apache and in turn should send the response to client x.
Suppose, client y runs on port 9999

I configured the httpd.conf like this:

<IfModule mod_proxy.c>
ProxyRequests Off
</IfModule>

ProxyPass / http://localhost:9999/
ProxyPassReverse / http://localhost:9999/

But when the client x tries to connect client y thru Apache it doesnt not get a response. client x says No response from the server.

Can somebody please help me configu
re the httpd.

Thanks in advance.

Thanks & Regards,
Aruna.




--0-992582436-1259109036=:91429--

Re: ProxyPass - mod_proxy

am 25.11.2009 01:40:19 von aw

Aruna Gummalla wrote:
> Hi,
>
> I am trying to configure mod_proxy. I want Apache to be the proxy server.
> There is a client x which talks to Apache and Apache in turn passes on this request to other client y.

Taking you by the letter, that is not really what mod_proxy is supposed
to help you with. The "other client y" is supposed to be another HTTPd
server, not a client.



------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: ProxyPass - mod_proxy

am 25.11.2009 01:48:42 von Aruna Gummalla

--0-1725618934-1259110122=:55374
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

client y is on the same host as apache.=20
only client x is on a different host.

Thanks & Regards,
Aruna.

--- On Wed, 11/25/09, Andr=E9 Warnier wrote:

From: Andr=E9 Warnier
Subject: Re: [users@httpd] ProxyPass - mod_proxy
To: users@httpd.apache.org
Date: Wednesday, November 25, 2009, 6:10 AM

Aruna Gummalla wrote:
> Hi,
>=20
> I am trying to configure mod_proxy. I want Apache to be the proxy server.
> There is a client x which talks to Apache and Apache in turn passes on th=
is request to other client y.=20

Taking you by the letter, that is not really what mod_proxy is supposed to =
help you with.=A0 The "other client y" is supposed to be another HTTPd serv=
er, not a client.



------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
=A0 "  =A0from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

=0A
--0-1725618934-1259110122=:55374
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

top" style=3D"font: inherit;">client y is on the same host as apache.
o=
nly client x is on a different host.

Thanks & Regards,
Aruna.=


--- On Wed, 11/25/09, Andr=E9 Warnier <aw@ice-sa.com> i> wrote:
5); margin-left: 5px; padding-left: 5px;">
From: Andr=E9 Warnier <aw@=
ice-sa.com>
Subject: Re: [users@httpd] ProxyPass - mod_proxy
To: u=
sers@httpd.apache.org
Date: Wednesday, November 25, 2009, 6:10 AM
>
Aruna Gummalla wrote:
> Hi,
>
>=
; I am trying to configure mod_proxy. I want Apache to be the proxy server.=

> There is a client x which talks to Apache and Apache in turn passe=
s on this request to other client y.

Taking you by the letter, that=
is not really what mod_proxy is supposed to help you with.  The "othe=
r client
y" is supposed to be another HTTPd server, not a client.



--=
------------------------------------------------------------ -------
The =
official User-To-User support forum of the Apache HTTP Server Project.
S=
ee <URL: ank">http://httpd.apache.org/userslist.html> for more info.
To un=
subscribe, e-mail: href=3D"/mc/compose?to=3Dusers-unsubscribe@httpd.apache.org" >users-unsubsc=
ribe@httpd.apache.org

  "   from the digest: ymailto=3D"mailto:users-digest-unsubscribe@httpd.apache.org" href=3D"/mc/co=
mpose?to=3Dusers-digest-unsubscribe@httpd.apache.org">users- digest-unsubscr=
ibe@httpd.apache.org

For additional commands, e-mail: mailto:users-help@httpd.apache.org"
href=3D"/mc/compose?to=3Dusers-help@httpd.apache.org">users- help@httpd.apa=
che.org



=

--0-1725618934-1259110122=:55374--

Re: ProxyPass - mod_proxy

am 25.11.2009 01:53:46 von aw

Aruna Gummalla wrote:
> client y is on the same host as apache.
> only client x is on a different host.
>
it does not matter. The point is that Apache will forward a HTTP
*request* to the "client y", and expect it to act like a HTTP server.
Unless your "client y" is really a HTTP server, it will not work.

And if your "client y" is really a HTTP server, then why don't you have
client x talk directly to client y ?


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: ProxyPass - mod_proxy

am 25.11.2009 18:34:35 von Aruna Gummalla

--0-749131842-1259170475=:34718
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

client y is a http server but i dont want to expose client y to client x.

I am new to this Apache httpd server so I dont know whether it should be co=
nfigured as a forward proxy or reverse proxy. Right now i am configuring it=
as reverse proxy but it doesnt work.

Please help.

Thanks & Regards,
Aruna.

--- On Wed, 11/25/09, Andr=E9 Warnier wrote:

From: Andr=E9 Warnier
Subject: Re: [users@httpd] ProxyPass - mod_proxy
To: users@httpd.apache.org
Date: Wednesday, November 25, 2009, 6:23 AM

Aruna Gummalla wrote:
> client y is on the same host as apache. only client x is on a different h=
ost.
>=20
it does not matter. The point is that Apache will forward a HTTP *request* =
to the "client y", and expect it to act like a HTTP server.
Unless your "client y" is really a HTTP server, it will not work.

And if your "client y" is really a HTTP server, then why don't you have cli=
ent x talk directly to client y ?


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
=A0 "  =A0from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

=0A
--0-749131842-1259170475=:34718
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

top" style=3D"font: inherit;">client y is a http server but i dont want to =
expose client y to client x.

I am new to this Apache httpd server so=
I dont know whether it should be configured as a forward proxy or reverse =
proxy. Right now i am configuring it as reverse proxy but it doesnt work. r>
Please help.

Thanks & Regards,
Aruna.

--- On =
Wed, 11/25/09, Andr=E9 Warnier <aw@ice-sa.com>
wrote:
<=
blockquote style=3D"border-left: 2px solid rgb(16, 16, 255); margin-left: 5=
px; padding-left: 5px;">
From: Andr=E9 Warnier <aw@ice-sa.com>
=
Subject: Re: [users@httpd] ProxyPass - mod_proxy
To: users@httpd.apache.=
org
Date: Wednesday, November 25, 2009, 6:23 AM

inMail">Aruna Gummalla wrote:
> client y is on the same host as apach=
e. only client x is on a different host.
>
it does not matter. Th=
e point
is that Apache will forward a HTTP *request* to the "client y", and expect=
it to act like a HTTP server.
Unless your "client y" is really a HTTP s=
erver, it will not work.

And if your "client y" is really a HTTP ser=
ver, then why don't you have client x talk directly to client y ?

r>---------------------------------------------------------- -----------
=
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>See <URL: "_blank">http://httpd.apache.org/userslist.html> for more info.
T=
o unsubscribe, e-mail: org" href=3D"/mc/compose?to=3Dusers-unsubscribe@httpd.apache.org" >users-uns=
ubscribe@httpd.apache.org

  "   from the digest:=
href=3D"/mc/compose?to=3Dusers-digest-unsubscribe@httpd.apac he.org">users-=
digest-unsubscribe@httpd.apache.org

For additional commands, e-mail:=
=3Dusers-help@httpd.apache.org">users-help@httpd.apache.org

v>


--0-749131842-1259170475=:34718--

Re: ProxyPass - mod_proxy

am 25.11.2009 18:40:36 von Tom Evans

--000e0ce03f2c6c6a3d0479358e5c
Content-Type: text/plain; charset=UTF-8

"It doesn't work" is useless. If you want help, explain what you tried, what
happens when you try that, and provide your configuration and logs.

Otherwise, the only response anyone can give is "It works just fine for me".

Cheers

Tom

--000e0ce03f2c6c6a3d0479358e5c
Content-Type: text/html; charset=UTF-8

"It doesn't work" is useless. If you want help, explain what you tried, what happens when you try that, and provide your configuration and logs.

Otherwise, the only response anyone can give is "It works just fine for me".


Cheers

Tom


--000e0ce03f2c6c6a3d0479358e5c--

Re: ProxyPass - mod_proxy

am 25.11.2009 18:51:52 von Aruna Gummalla

--0-1937196343-1259171512=:61306
Content-Type: text/plain; charset=us-ascii

This is what I am doing and an example of my configuration

I am trying to configure mod_proxy. I want Apache to be the proxy server.
There
is a client x which talks to Apache and Apache in turn passes on this
request to other client y. The client y responds to Apache and in turn
should send the response to client x.
Suppose, client y runs on port 9999 and client y and apache are on the same host.

I configured the httpd.conf like this:


ProxyRequests Off


ProxyPass / http://localhost:9999/
ProxyPassReverse / http://localhost:9999/

But
when the client x tries to connect client y thru Apache it doesnt not
get a response. client x says No response from the server.

Can somebody please help me configure the httpd.

I dont know whether i should configure this as forward or reverse proxy. Please help.

Thanks in advance.

Thanks & Regards,
Aruna.

--- On Wed, 11/25/09, Tom Evans wrote:

From: Tom Evans
Subject: Re: [users@httpd] ProxyPass - mod_proxy
To: users@httpd.apache.org
Date: Wednesday, November 25, 2009, 11:10 PM

"It doesn't work" is useless. If you want help, explain what you tried, what happens when you try that, and provide your configuration and logs.

Otherwise, the only response anyone can give is "It works just fine for me".


Cheers

Tom





--0-1937196343-1259171512=:61306
Content-Type: text/html; charset=us-ascii

This is what I am doing and an example of my configuration

I am trying to configure mod_proxy. I want Apache to be the proxy server.
There
is a client x which talks to Apache and Apache in turn passes on this
request to other client y. The client y responds to Apache and in turn
should send the response to client x.
Suppose, client y runs on port 9999 and client y and apache are on the same host.

I configured the httpd.conf like this:

<IfModule mod_proxy.c>
ProxyRequests Off
</IfModule>

ProxyPass / http://localhost:9999/
ProxyPassReverse / http://localhost:9999/

But
when the client x tries to connect client y thru Apache it doesnt not
get a response. client x says No response from the server.

Can somebody please help me configure the httpd.

I dont know whether i should configure this as forward or reverse proxy. Please help.

Thanks in advance.

Thanks & Regards,
Aruna.

--- On Wed, 11/25/09, Tom Evans <tevans.uk@googlemail.com> wrote:

From: Tom Evans <tevans.uk@googlemail.com>
Subject: Re: [users@httpd] ProxyPass - mod_proxy
To: users@httpd.apache.org
Date: Wednesday, November 25, 2009, 11:10 PM

"It doesn't work" is useless. If you want help, explain what you tried, what happens when you try that, and provide you
r configuration and logs.

Otherwise, the only response anyone can give is "It works just fine for me".


Cheers

Tom





--0-1937196343-1259171512=:61306--

Re: ProxyPass - mod_proxy

am 26.11.2009 13:52:15 von Eric Covener

--000e0cd70b740d8b2e047945a599
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Nov 25, 2009 at 12:51 PM, Aruna Gummalla
wrote:

> This is what I am doing and an example of my configuration
>
>
> I am trying to configure mod_proxy. I want Apache to be the proxy server.
> There is a client x which talks to Apache and Apache in turn passes on this
> request to other client y. The client y responds to Apache and in turn
> should send the response to client x.
>


Stop calling "client y" a client if it's just the origin server. You just
want a basic reverse proxy and are overcomplicating it.

--
Eric Covener
covener@gmail.com

--000e0cd70b740d8b2e047945a599
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 25, 2009 at 12:51 PM, Aruna Gummalla=
<aruna_gu=
mmalla@yahoo.com
>
wrote:
style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.=
8ex; padding-left: 1ex;">
e=3D"font-family: inherit; font-style: inherit; font-variant: inherit; font=
-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjus=
t: inherit; font-stretch: inherit;" valign=3D"top">
This is what I am doing and an example of my configuration
>

I am trying to configure mod_proxy. I want ottom: 1px dashed rgb(0, 102, 204);">Apache to be the "border-bottom: 1px dashed rgb(0, 102, 204);">proxy server.

There
is a client x which talks to Apache and Apache in turn passes on this
request to other client y. The client y responds to Apache and in turn
should send the response to client x.
blockquote>

Stop calling "client y" a client if it's j=
ust the origin server.=A0 You just want a basic reverse proxy and are overc=
omplicating it.


--
Eric Covener
coven=
er@gmail.com



--000e0cd70b740d8b2e047945a599--